package com.bwie.seckill.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 订单表
 * 
 * @author yifan
 * @email sunlightcs@gmail.com
 * @date 2022-06-19 20:27:47
 */
@Data
@TableName("tb_order_form")
public class OrderFormEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 订单id
	 */
	@TableId
	private Integer orderId;
	/**
	 * 秒杀活动中间表
	 */
	private Integer middleId;
	/**
	 * 邮费价格
	 */
	private BigDecimal postage;
	/**
	 * 订单创建时间
	 */
	private Date orderCreateTime;
	/**
	 * 付款时间
	 */
	private String accountTime;
	/**
	 * 订单状态【0:待付款 1:已付款】
	 */
	private Integer orderStatus;
	/**
	 * 下单用户
	 */
	private Integer userId;

}
